﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace DNA.Mvc.Management
{
    public class WebRequestEntry
    {
        [Key]
        public int ID { get; set; }

        public string UserHostAddress { get; set; }

        public string HttpMethod { get; set; }

        public string UrlRefer { get; set; }

        public string UserHostName { get; set; }

        public string UserAgent { get; set; }

        public string UserName { get; set; }

        public string RequestUrl { get; set; }

        public string Browser { get; set; }

        public DateTime EventTime { get; set; }

        public bool IsCrawler { get; set; }

        public bool IsAnonymous { get; set; }

        public string Controller { get; set; }

        public string Action { get; set; }

        public string WebSiteName { get; set; }

        public string RouteValues { get; set; }

        public string Version { get; set; }
    }
}
